package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Create with Intellij idea
 * User:鲁智明
 * Date:2018/11/24
 * Time:12:11
 */
@SpringBootApplication
@EnableEurekaServer    //开启注册中心
public class AppEurekaServer {
    public static void main(String[] args) {
        SpringApplication.run(AppEurekaServer.class,args);
    }
}
